package com.edev.trade.order.entity;

import com.edev.support.entity.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class Address extends Entity<Long> {
	private Long id;
	private Long customerId;
	private String country;
	private String province;
	private String city;
	private String district;
	private String addressDetail;
	private String phoneNumber;

	public Address() {}

	public Address(Long id, Long customerId, String country, String province,
				   String city, String district, String addressDetail, String phoneNumber) {
		this.setId(id);
		this.setCustomerId(customerId);
		this.setCountry(country);
		this.setProvince(province);
		this.setCity(city);
		this.setDistrict(district);
		this.setAddressDetail(addressDetail);
		this.setPhoneNumber(phoneNumber);
	}
}
